package com.bootdo.wx.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.wx.dao.OrderTeamUserDao;
import com.bootdo.wx.domain.OrderTeamUserDO;
import com.bootdo.wx.service.OrderTeamUserService;



@Service
public class OrderTeamUserServiceImpl implements OrderTeamUserService {
	@Autowired
	private OrderTeamUserDao orderTeamUserDao;
	
	@Override
	public OrderTeamUserDO get(String id){
		return orderTeamUserDao.get(id);
	}
	
	@Override
	public List<OrderTeamUserDO> list(Map<String, Object> map){
		return orderTeamUserDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return orderTeamUserDao.count(map);
	}
	
	@Override
	public int save(OrderTeamUserDO orderTeamUser){
		return orderTeamUserDao.save(orderTeamUser);
	}
	
	@Override
	public int update(OrderTeamUserDO orderTeamUser){
		return orderTeamUserDao.update(orderTeamUser);
	}
	
	@Override
	public int remove(String id){
		return orderTeamUserDao.remove(id);
	}
	
	@Override
	public int batchRemove(String[] ids){
		return orderTeamUserDao.batchRemove(ids);
	}

	/*判断自己是否拼过该团*/
	@Override
	public List<Map<String,Object>> panUser(Map<String, Object> map) {
		return orderTeamUserDao.panUser(map);
	}
	
}
